package ${package}.dto.${classname}.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.imydao.business.common.serializer.BigDecimalSerializer;
import java.time.LocalDate;
import java.time.LocalDateTime;

<#list imports as i>
import ${i!};
</#list>

/**
* ${tableComment} list item res
*
* @author ${author} ${email}
* @since ${version} ${date}
*/
@Data
@Schema(description = "${tableComment}")
public class ${ClassName}ListRes {

<#list columnList as column>
	<#if !"deleted,input_channel,entry_method,delete_time,spare1,spare2,spare3,spare4"?split(",")?seq_contains(column.columnName)>
	<#if column.columnComment!?length gt 0>
	/**
	 * ${column.columnComment}
	 */
	@Schema(description = "${column.columnComment}")
	</#if>
	<#if column.attrType == 'Long' || column.attrType == 'Integer' || column.attrType == 'Short' || column.attrType == 'Byte' || column.attrType == 'Double' || column.attrType == 'Float'>
	@JsonFormat(shape = JsonFormat.Shape.STRING)
	</#if>
	<#if column.attrType == 'BigDecimal'>
	@JsonSerialize(using = BigDecimalSerializer.class)
	</#if>
	private ${column.attrType} ${column.attrName};

    </#if>
</#list>

}